var t,
  a = require("../../res/www.a9a.cn.js"),
  n = getApp();
Page({
  data: {},
  onLoad: function (t) {
    var e = this;
    n.chklogin().then(function (t) {
      t || wx.navigateBack();
    }),
      n.get_openid().then(function (t) {
        e.setData({ color: n._ZEAI.color, rgbcolor: a.c16_rgb(n._ZEAI.color) }),
          e.getdata();
      });
  },
  getdata: function () {
    var a = this;
    (t = wx.getStorageSync("COOK_U")),
      n.ajax({
        url: "my_mateshow.php",
        data: { submitok: "index", openid: t.openid },
        success: function (t) {
          1 == t.flag
            ? a.setData({ LIST: t.ARR })
            : wx.showToast({ title: t.msg, icon: "none", mask: !0 });
        },
      });
  },
  uFn: function (t) {
    var a = t.currentTarget.dataset.uid;
    wx.navigateTo({ url: "../u/u?uid=" + a });
  },
  matesetFn: function () {
    wx.navigateTo({ url: "../reg/reg?currentTab=2" });
  },
  chanageFn: function () {
    this.getdata();
  },
  onShareAppMessage: function () {},
});
